﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaseCardTypes = Wormhole.Engine.CardLibrary.BaseCardTypes;

namespace Wormhole.Engine.Input
{
	/// <author>Rodney McKay</author>
	/// <date>13 April 2008</date>
	/// <summary>
	/// The request for user input details are passed using this class.
	/// </summary>
	public class Request
	{
		#region Delegates
		/// <summary>
		/// Callback functions will use this delegate.
		/// </summary>
		/// <param name="response">The reponse from the user input</param>
		public delegate void CallbackDelegate(Response response);
		#endregion

		#region Properties

		#region Message
		/// <summary>
		/// The Message that should be displayed to the user.
		/// </summary>
		public string Message { get; set; }
		#endregion

		#region Reponse Type
		/// <summary>
		/// The allowable response types.
		/// </summary>
		public ResponseType ResponseType { get; set; }
		#endregion

		#region Callback
		/// <summary>
		/// The callback function.
		/// </summary>
		public CallbackDelegate Callback { get; set; }
		#endregion

		#endregion
	}
}
